package com.example.mykotilin.paging2.repository

import androidx.paging.PagingData
import com.example.mykotilin.paging2.vo.RedditPost
import kotlinx.coroutines.flow.Flow

interface RedditPostRepository {

    fun postOfSubreddit(subReddit:String,pageSize:Int): Flow<PagingData<RedditPost>>

    enum class TYPE{
        IN_MEMORY_BY_ITEM,
        IN_MEMORY_BY_PAGE,
        DB
    }
}

